package com.xujicheng.designpattern.learn.strategyPattern.pattern;

public class VipDiscount implements Discount {
    @Override
    public double calculate(double price) {
        System.out.println("VIP票：");
        System.out.println("增加积分！");
        return price * 0.5;
    }
}
